package panoramic

import (
	"github.com/gin-gonic/gin"
	v1 "tdy-backend/app/panoramic/controller/v1"
)

type ApiGroupRouter struct{}

func (o *ApiGroupRouter) GroupRouter(Router *gin.RouterGroup) {
	api := v1.GroupController{}
	r := Router.Group("V1")
	{
		r.POST("/Group/Add", api.Add)
		r.POST("/Group/Edit", api.Edit)
		r.POST("/Group/Delete", api.Delete)
		r.GET("/Group/ListAll", api.ListAll)
	}
}
